//
//  SceneManager.h
//  Line98
//
//  Created by Louis CHU on 16/04/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

@protocol  IUpdater <NSObject>
- (void) update: (float) elapsedTime step:(int) step;
@end

@protocol  IRenderer <NSObject>
- (void) render;
@end

@interface SceneManager : NSObject
@property (nonatomic, strong) NSMutableArray * renderers;
@property (nonatomic, strong) NSMutableArray * updaters;

+ (SceneManager *) sharedSceneManager;
- (void) update: (float) elapsedTime step:(int) step;
@end
